import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import AboutUs from '@/components/AboutUs'
import OnlinePay from '@/components/OnlinePay'
import PaymentNearStation from '@/components/PaymentNearStation'
import Payment from '@/components/Payment'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: HelloWorld
    },
    {
      name: 'About',
      path: '/AboutUs',
      component: AboutUs
    },
    {
      path: '/OnlinePay',
      name: 'OnlinePay',
      component: OnlinePay
    },
    {
      path: '/PaymentNearStation',
      name: 'PaymentNearStation',
      component: PaymentNearStation
    },
    {
      path: '/Payment',
      name: 'Payment',
      component: Payment
    }
  ]
})
